build: boot.bin loader.bin
	dd if=boot.bin of=a.img bs=512 count=1 conv=notrunc
	sudo mount -o loop a.img /mnt/floppy
	sudo cp loader.bin /mnt/floppy/
	sudo umount /mnt/floppy


boot.bin: boot.asm
	nasm -o boot.bin boot.asm


loader.bin: pmtest9.asm
	nasm -o loader.bin pmtest9.asm


clean:
	rm -fr *.bin
